package com.test.entity;

import java.io.Serializable;
import java.util.Date;

public class SysDepartment implements Serializable{

	/**
	 * 自增id
	 */
	private int id;
	
	/**
	 * 部门编码
	 */
	private String depart_code;
	
	/**
	 * 部门名称
	 */
	private String name;

	/**
	 * 父级部门编码
	 */
	private String parent_code;
	
	/**
	 * 父菜单名称
	 */
	private String parentName;

	/**
	 * 排序
	 */
	private int order_num;
	
	/**
	 * 状态
	 */
	private int depart_state;
	
	/**
	 * 创建时间
	 */
	private Date created;
	
	/**
	 * 修改时间
	 */
	private Date modified;
	
	/**
	 * 创建人id
	 */
	private int user_id_create;
	
	/**
	 * 更新人id
	 */
	private int user_id_update;
	
	/**
	 * ztree属性
	 */
	private Boolean open;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDepart_code() {
		return depart_code;
	}

	public void setDepart_code(String depart_code) {
		this.depart_code = depart_code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParent_code() {
		return parent_code;
	}

	public void setParent_code(String parent_code) {
		this.parent_code = parent_code;
	}

	public int getOrder_num() {
		return order_num;
	}

	public void setOrder_num(int order_num) {
		this.order_num = order_num;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getModified() {
		return modified;
	}

	public void setModified(Date modified) {
		this.modified = modified;
	}

	public int getUser_id_create() {
		return user_id_create;
	}

	public void setUser_id_create(int user_id_create) {
		this.user_id_create = user_id_create;
	}

	public int getUser_id_update() {
		return user_id_update;
	}

	public void setUser_id_update(int user_id_update) {
		this.user_id_update = user_id_update;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}


	public int getDepart_state() {
		return depart_state;
	}

	public void setDepart_state(int depart_state) {
		this.depart_state = depart_state;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}
	
	
}
